/*******************************************************************************
 * Copyright (c) 2011, 2012 EclipseSource and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    EclipseSource - initial API and implementation
 ******************************************************************************/
package it.rap.applications.birt.report.accounts.internal;

import it.rap.applications.contributions.manager.configurator.Configurator;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

//Contributions.addContribution( BUNDLE_ID , "Summary spend review", SummarySpendReviewForYear.class );
//Contributions.addContribution( BUNDLE_ID + "2" , "Andamento Saldo", SaldoReport.class );

public class Activator extends Configurator implements BundleActivator {
	
	  public static final String BUNDLE_ID = "it.rap.applications.birt.report.accounts";
	
	  public Activator() {
		  super();
	  }

	  public void start( BundleContext context ) throws Exception {
		  //Contributions.addContribution( bundleId, contributionName, getClass().getClassLoader().loadClass( coreClass ).asSubclass(IContainerPage.class) );
		  addContributions();
	  }

	  public void stop( BundleContext context ) throws Exception {
	   
	  }

	@Override
	protected void setConfigFilePath() {
		configFilePath = "it/rap/applications/bundles.config.xml";
	}
		  
}
